﻿using AMAP.Domain;
using AMAP.ServiceInterfaces.Common;
using System.Collections.Generic;

namespace AMAP.ServiceInterfaces
{
    public interface ICompositionService : IRepositoryService<Composition>
    {
        /// <summary>
        /// Computes and returns the list of which the given basket is composed
        /// </summary>
        /// <param name="BasketId">Id of the basket</param>
        /// <returns>List of Composition POCO used to make a basket</returns>
        IList<Composition> GetListByBasketId(int BasketId);
    }
}
